﻿using System;
using System.ComponentModel;

using SBPweb.RIA.Shared.Contracts.Extensibility;

namespace SBPweb.RIA.Client.Contracts.Base
{

    public interface IExtendableApplication : IExtendable
    {

#if !WINDOWS_PHONE

        ApplicationSettings Settings
        {
            get;
        }

#endif

        bool IsDesignTime
        {
            get;
        }

        Uri HostBaseUri
        {
            get;
        }

        Uri PageUri
        {
            get;
        }

        bool IsSettingsPersistencyEnabled
        {
            get;
        }

        void PersistSettings();

    }

}